<template>
	<view class="content">
		<web-view :src="web_url"></web-view>	 
	</view>
</template>

<script>
	import { HTTP_REQUEST_URL } from '@/config/app.js';
	export default {
		mounted() {
		        // #ifdef APP-PLUS
		        plus.screen.lockOrientation('landscape');
		        // #endif
		    },
		data() {
			return {
				web_url: '',
			}
		},
		onLoad(options) {
			this.web_url = HTTP_REQUEST_URL + decodeURIComponent(options.url)
			// console.log(this.web_url)
		},
		methods: {
			
		}
	}
</script>

<style>
	page {
		height: 100%;
	}
	.content {
		width: 100%;
		height: 100%;
		display: flex;
		align-items: center;
		justify-content: center;
	}
	
	
</style>
